/* 全局 */
html {
  height: 100%;
}
body {
  font-family: -apple-system,"Helvetica Neue",Helvetica,Arial,"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft Yahei",sans-serif;
  font-size: 14px;
  color: #424242;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: #f5f5f5;
  overflow: hidden;
}
ul, ol {
  padding: 0;
}

/* 页面头部 */
.topbar {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  background-color: #1976d2;
  height: 64px;
  box-sizing: border-box;
  z-index: 100;
}
.topbar a {
  color: #bbdefb;
}
.topbar a:hover {
  color: #e3f2fd;
}
.topbar-logo {
  display: inline-block;
  height: 100%;
  margin-left: 24px;
  vertical-align: middle;
  background-image: url(../image/logo-white.png);
  background-size: 350px ;
  background-repeat: no-repeat;
  background-position: center center;
  height: 100%;
  width: 400px;
}
#menu-button {
  vertical-align: middle;
  font-size: 23px;
  -moz-transition: color 0.3s;
  -o-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  height: 32px;
  width: 32px;
  line-height: 32px;
  margin-left: 24px;
}
#user-display {
  float: right;
  text-align: right;
  height: 100%;
  margin: 0 1rem;
}
#user-display:before {
  content: ' ';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  width: 0;
}
#user-display .username {
  color: #f9f9f9;
  vertical-align: middle;
  margin: 0 1rem;
}
#user-display .usermenu-button {
  vertical-align: middle;
  font-size: 23px;
  -moz-transition: color 0.3s;
  -o-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  height: 32px;
  width: 32px;
  line-height: 32px;
}
.usermenu-dropdown {
  display: inline-block;
}

/* 页面框架 */
.layout-wrapper {
  height: 100%;
}
.layout-main {
  height: 100%;
}
.layout-main.menu-expanded .layout-menu-wrapper {
  left: 0;
}
.layout-main.menu-expanded .layout-content {
  margin-left: 200px;
}

/* 主菜单 */
.layout-menu-wrapper {
  position: fixed;
  top: 64px;
  bottom: 0;
  width: 200px;
  left: -200px;
  padding-top: 15px;
  border-right: solid 1px #dee4e9;
  background-color: #2a3036;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-transition: left 0.3s ease-in-out;
  -o-transition: left 0.3s ease-in-out;
  -webkit-transition: left 0.3s ease-in-out;
  transition: left 0.3s ease-in-out;
}
.layout-menu-container {
  display: block;
  height: 100%;
  position: relative;
  overflow-y: auto;
}
.layout-menu {
  list-style-type: none;
  margin: 0;
  padding: 0 0 20px 0;
  box-sizing: border-box;
}
.layout-menu li > a {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 10px 8px;
  display: block;
  box-sizing: border-box;
  -moz-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
.layout-menu li > a:hover {
  background-color: #1e2428;
}
.layout-menu li > a .fa {
  vertical-align: middle;
  font-size: 18px;
}
.layout-menu li > a .fa:last-child {
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  float: right;
}
.layout-menu li > ul {
  height: 0;
  overflow: hidden;
  list-style-type: none;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.layout-menu li.active-menuitem > a.trigger {
  background-color: #1e2428;
}
.layout-menu li.active-menuitem > a.link {
  color: #2e9dcf;
}
.layout-menu li.active-menuitem > a .fa:last-child {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
.layout-menu li.active-menuitem > ul {
  height: auto;
}
.layout-menu li.level1 > a {
  padding-left: 8px;
}
.layout-menu li.level2 > a {
  padding-left: 16px;
}
.layout-menu li.level3 > a {
  padding-left: 24px;
}

/* 页面主体内容框 */
.layout-main .layout-content {
  left: 4px;
  top: 66px;
  bottom: 4px;
  right: 4px;
  position: absolute;
  overflow-x: hidden;
  -moz-transition: margin-left 0.3s ease-in-out;
  -o-transition: margin-left 0.3s ease-in-out;
  -webkit-transition: margin-left 0.3s ease-in-out;
  transition: margin-left 0.3s ease-in-out;
}

/* tabs式页面结构 */
.content-wrapper {
  height: 100%;
  position: relative;
}
.tab-box {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  overflow: hidden;
}
.tab-arrow {
  display: none;
  position: absolute;
  height: 42px;
  line-height: 42px;
  width: 20px;
  text-align: center;
  top: 0;
  z-index: 99;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  cursor: pointer;
}
.tab-arrow:hover {
  background-color: #eee;
}
.tab-arrow.left {
  left: 0;
}
.tab-arrow.right {
  right: 0;
}
#tab-navs {
  width: 10000px;
  position: relative;
}
#tab-navs > li > a {
  margin-right: 0;
}
#tab-navs > li > .fa {
  position: absolute;
  right: 0px;
  top: -1px;
  color: #e40707;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease-in .1s; 
  -webkit-transition: opacity .2s ease-in .1s;
  -moz-transition: opacity .2s ease-in .1s;
}
#tab-navs > li:hover > .fa {
  opacity: 1;
}

#tab-contents {
  height: 100%;
  position: relative;
  padding-top: 42px;
  box-sizing: border-box;
}
#tab-contents > .tab-content {
  display: none;
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-width: 0 1px 1px; 
}
#tab-contents > .tab-content > iframe {
  width: 100%;
  height: 99%;
  border: none;
  margin: 0;
}

.tab-menu {
  display: none;
}
.tab-menu > ul {
  position: fixed;
  z-index: 199;
  background-color: #fff;
  color: #111;
  font-size: 13px;
  margin: 0;
  padding: 5px 0;
  border: 1px solid #ccc;
  min-width: 180px;
  list-style: none;
}
.tab-menu > ul > li {
  padding: 6px 25px 5px;
  cursor: pointer;
}
.tab-menu > ul > li.hr {
  padding: 0;
  margin: 5px 0;
  border-top: 1px solid #dedede;
}
.tab-menu > ul > li:hover {
  background-color: #e1e6eb;
}
.tab-menu > .event-mask {
  position: fixed;
  z-index: 198;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}